const gulp = require('gulp');
const sass = require('gulp-sass');

gulp.task('sass', () => {
    return gulp.src('../mall_static/sass/**/*.scss').pipe(sass().on('error', sass.logError)).pipe(gulp.dest('../mall_static/css'));
});

gulp.task('sass:watch', () => {
    gulp.watch('../mall_static/sass/**/*.scss', ['sass']);
})